The best and safest approach to powering down TC65 is to issue the AT^SMSO command. This procedure lets TC65 log off from the network and allows the software to enter into a secure state and safe data before disconnecting the power supply. The mode is referred to as Power-down mode. In this mode, only the RTC stays active.
Be sure not to disconnect the supply voltage VBATT+ before the URC “^SHUTDOWN” has been issued and the PWR_IND signal has gone high. Otherwise you run the risk of losing data. Signal states during turn-off are shown in
Figure 9.
While TC65 is in Power-down mode the application interface is switched off and must not be fed from any other source. Therefore, your application must be designed to avoid any current flow into any digital pins of the application interface, especially of the serial interfaces. No special care is required for the USB interface which is protected from reverse current.
In a Windows environment, the USB COM port emulation causes the USB port of TC65 to appear as a virtual COM port (VCOM port). The VCOM port emulation is only present when Windows can communicate with the module, and is lost when the module shuts down. Therefore, the host application or Terminal program must be disconnected from the USB VCOM port each time the module is restarted.
After entering the power-down command AT^SMSO on one of the interfaces (ASC0, ASC1, USB) the host application or Terminal program used on the USB VCOM port must be closed before the module is restarted by activating the IGT line.
Likewise, when using the reset command AT+CFUN=x,1 on one of the interfaces (ASC0, ASC1, USB) ensure that the host application or Terminal program on the USB VCOM port be closed down before the module restarts.